package com.shopx.cm.service;

import com.shopx.cm.bean.CmSync;
import com.shopx.cm.model.CmSyncModel;
import com.shopx.cmm.DTO.PageDTO;
import java.util.List;
//import com.shopx.base.exception.ShopxException;

/**
 * TODO
 * @author lituo
 * @className: CmSync
 * @date 2025-01-07
 */
public interface ICmSyncService {

    /**
     * 查询明细记录
     * @author lituo
     * @date 2025-01-07
     * @param cmSync
     * @return CmSyncModel
     */
    CmSyncModel selectByPrimaryKey(CmSync cmSync);

    /**
     * 新增记录
     * @author lituo
     * @date 2025-01-07
     * @param cmSync
     * @return int
     */
    int insertSelective(CmSync cmSync);

    /**
     * 修改记录
     * @author lituo
     * @date 2025-01-07
     * @param cmSync
     * @return int
     */
    int updateByPrimaryKeySelective(CmSync cmSync);

    /**
     * 删除记录
     * @author lituo
     * @date 2025-01-07
     * @param cmSync
     * @return int
     */
    int deleteByPrimaryKey(CmSync cmSync);
	

	/**
     * 查询总记录数
     * @author lituo
     * @date 2025-01-07
     * @param cmSyncModel
     * @return int
     */
    int selectCount(CmSyncModel cmSyncModel);

    /**
     * 查询列表
     * @author lituo
     * @date 2025-01-07
     * @param cmSyncModel
     * @return List<CmSyncModel>
     */
    List<CmSyncModel> selectList(CmSyncModel cmSyncModel);

    /**
     * 分页查询
     * @author lituo
     * @date 2025-01-07
     * @param cmSyncModel
     * @return PageModel<CmSyncModel>
     */
    PageDTO<CmSyncModel> getListPage(CmSyncModel cmSyncModel);
	
}

